/**
 * Created by dasd on 2017/1/16.
 */
var loadingUrl=route.loadPage;
function goIndex() {
    // cookie.set("url", null);
    // cookie.set("menuId", null);
    loadingUrl("views/loginLog/loginLogList.html");
}

var lodingDate = function (fileSrc, afterRender, beforeRender) { //加载页面事件
    $(".container-box").empty();
    $(".container-box").load(fileSrc, function () {
        if (typeof beforeRender == 'function') {
            beforeRender();
        }
        if (typeof afterRender == 'function') {
            afterRender();
        }
    });
    $.ajaxSetup({
        cache: false //open AJAX cache
    });
};